public class chef {
    private order order;
    public void Getorder(order order){
        this.order=order;
    }
    public void Cook(){
        System.out.println("厨师烹制:"+order.mealList+"");
        System.out.println("制作完成");
    }
    public void sendalert(waitress waitress)
    {
        System.out.println("厨师提示服务员取菜!");
        System.out.println("服务员表示马上就来");
        waitress.Getorder(order);
    }
}
